package com.twang.stock.mapper;
import com.twang.stock.entity.StockInfo;
import com.twang.stock.entity.StockInfoDto;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface StockInfoMapper extends Mapper<StockInfo> {

    public List<StockInfo> updateSUMVolAndAmount(StockInfoDto param);

    public StockInfo selctScondData(StockInfoDto param);

    public List<StockInfo> updateSUMVolAndAmountNew(StockInfoDto param);

    public List<StockInfo> selectByLIimitNum(@Param("code") String code,@Param("num") Integer num);

    public StockInfo getLastData(@Param("code")String code);

    public String getLastDate();

    public List<StockInfo> biggerThanDate(@Param("date")String date,@Param("code")String code);


}